package com.res.share.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.res.share.model.ResCollection;
import com.res.share.model.ResFollow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.res.share.model.dto.UserFollowModel;

import java.util.List;

/**
 * <p>
 * 用户关注 服务类
 * </p>
 *
 * @author astupidcoder
 * @since 2021-10-22
 */
public interface IResFollowService extends IService<ResFollow> {

    List<Long> findUserResFollowList(Integer beLongUserId, Integer type);

    Integer editFollowMe(Integer userId, Integer followMeBelongId,Integer type);

    IPage<UserFollowModel> mylikeuserList(Page<UserFollowModel> page, Integer userId);

    IPage<UserFollowModel> likemeDetailList(Page<UserFollowModel> page, Integer userId);

    void cancelLikeUser(String followUserId, Integer userId);

    IPage<ResCollection> mylikeuserresList(Page<ResCollection> page, Integer userId);
}
